import React from 'react'
import { Consumer } from '../context/context'
const Child3 = () => {
  return (
    <Consumer>
        {value => {
            console.log(value)
            return (
                <div className='box'>
                    <h3>Child3</h3>
                    <p>title:{value.title}</p>
                </div>
            )
        }}
    </Consumer>

  )
}

export default Child3